package com.cjyd.hrjb.service;

import com.cjyd.hrjb.model.dto.AdminDto;
import com.cjyd.hrjb.model.entity.Admin;

import java.util.List;

/**
 * Created fei wo by 2020/4/5
 */
public interface AdminService {

    Admin add(AdminDto adminDto);

    Admin edit(AdminDto adminDto);

    void delete(Long adminId);

    List<Admin> list();

    Admin login(AdminDto adminDto);

    void logout(String token);

}
